<?xml version="1.0" encoding="UTF-8"?>
<!-- -->
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>

    <div id="header_menu">
                <c:choose>
            <c:when test="${pageContext.request.userPrincipal.name==null}">
                <a href="/stompear-web/index.jsp?page=login">Přihlásit</a>
            </c:when>
            <c:otherwise>
                <a href="/stompear-web/logout">Odhlásit</a>
                <span> | </span>
                <a href="/stompear-web/sprava/index.jsp?page=sprava">Správa</a>
            </c:otherwise>
        </c:choose>
    </div>

